package cnhy.salary.domain;

import cnhy.salary.domain.proxy.OutputGroupProxy;
import com.easy.query.core.proxy.ProxyEntityAvailable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import com.easy.query.core.annotation.*;
import ling.common.domain.entity.*;

import javax.validation.constraints.NotNull;

/**
 * 产线产出记录;
 * @author : He-LiangLiang@Outlook.com
 * @date : 2025-5-26
 */
@ApiModel(value = "产线产出记录",description = "")
@EntityProxy
@Table("pay_output_group")
@Data
public class OutputGroup extends CreatedEntity.LongId implements Serializable,Cloneable, ProxyEntityAvailable<OutputGroup , OutputGroupProxy> {
    /**  */
    /*
    @Column(primaryKey = true)
    @ApiModelProperty(value = "",notes = "")
    private Long id ;
    */
    
    /** 0组，1产线 */
    @ApiModelProperty(value = "0组，1产线",notes = "")
    @EasyWhereCondition(type = EasyWhereCondition.Condition.EQUAL)
    private Integer type ;
     
   
    /** 产线或组的 id */
    @ApiModelProperty(value = "产线或组的 id",notes = "")
    @NotNull
    @EasyWhereCondition(type = EasyWhereCondition.Condition.EQUAL)
    private Long sourceId ;
     
   
    /** 产线或组的名称 */
    @ApiModelProperty(value = "产线或组的名称",notes = "")
    @EasyWhereCondition
    private String name ;
     
   
    /** 日期，用于归属 */
    @ApiModelProperty(value = "日期，用于归属",notes = "")
    @NotNull
    private Date time ;
     
   
    /** 备注 */
    @ApiModelProperty(value = "备注",notes = "")
    private String remark ;
     
   
    /** 产出量 */
    @ApiModelProperty(value = "产出量",notes = "")
    @NotNull
    private Double outputNum ;


     @ApiModelProperty(value = "状态,0草稿，1已确认",notes = "")
     String status;
   

}